Rope

Undocumented in source.

Constructors

this
this(MainGameObject root, float[3] rope_start, float[3] rope_end, float by, uint length, float segl, int static_segments)
Undocumented in source.

Members

Functions

cut
void cut(int segm)
Undocumented in source. Be warned that the author may not have intended to support it.
draw
void draw(GlobalState gs)
Undocumented in source. Be warned that the author may not have intended to support it.
draw_part
void draw_part(GlobalState gs, size_t a, size_t b)
Undocumented in source. Be warned that the author may not have intended to support it.
length
float length(float[3] v)
Undocumented in source. Be warned that the author may not have intended to support it.
load
void load(string[string] s)
Undocumented in source. Be warned that the author may not have intended to support it.
normalize
void normalize(float[3] v)
Undocumented in source. Be warned that the author may not have intended to support it.
produce
float[3] produce(float[3] v1, float[3] v2)
Undocumented in source. Be warned that the author may not have intended to support it.
reinit
void reinit()
Undocumented in source. Be warned that the author may not have intended to support it.
save
void save(string[string] s)
Undocumented in source. Be warned that the author may not have intended to support it.
tick
bool tick(GlobalState gs)
Undocumented in source. Be warned that the author may not have intended to support it.

Static variables

num
int num;
Undocumented in source.
rope_texture
GLuint rope_texture;
Undocumented in source.

Variables

by
float by;
Undocumented in source.
cut_segm
int cut_segm;
Undocumented in source.
number
int number;
Undocumented in source.
rope
float[3][] rope;
segl
float segl;
Undocumented in source.
static_segments
int static_segments;
Undocumented in source.

Inherited Members

From StaticGameObject

x
float x;
y
float y;
z
float z;
Undocumented in source.
load
void load(string[string] s)
Undocumented in source. Be warned that the author may not have intended to support it.
save
void save(string[string] s)
Undocumented in source. Be warned that the author may not have intended to support it.

Meta